Automattic\WooCommerce\Pinterest\API\Base A

Total Complexity 67
Dependencies 3
Dependents 12
Total lines 806
Lines of code 330
Logical lines of code 120
Comment lines 345
Methods 39
Properties 2

Methods 39

Method Rating Maintainability Complexity Lines of code
make_request()
A
40 11 60
handle_request()
A
41 9 56
update_tag()
S
60 3 13
get_merchant_feeds()
S
61 2 13
invalidate_merchant_feeds_cache()
S
62 2 12
update_tag_config()
S
69 2 6
maybe_cache_api_response()
S
69 2 6
get_token()
S
71 2 6
parse_response()
S
69 2 6
instance()
S
72 2 6
get_advertisers()
S
73 2 4
create_advertiser()
S
62 1 12
create_tag()
S
63 1 11
get_merchant_feed_report()
S
63 1 11
disable_merchant_feed()
S
73 1 5
enable_merchant_feed()
S
73 1 5
__construct()
S
98 1 1
update_merchant_feed()
S
70 1 6
get_advertiser_billing_data()
S
77 1 3
get_advertiser_billing_profile()
S
77 1 3
redeem_ads_offer_code()
S
73 1 4
validate_ads_offer_code()
S
73 1 4
get_available_discounts()
S
71 1 5
get_message_map()
S
77 1 3
get_advertiser_tags()
S
77 1 3
update_or_create_merchant()
S
70 1 7
get_merchant()
S
77 1 3
get_advertiser_tag()
S
76 1 3
disconnect_advertiser()
S
65 1 10
connect_advertiser()
S
65 1 10
get_linked_businesses()
S
78 1 3
get_account_info()
S
78 1 3
trigger_verification()
S
68 1 6
domain_verification_data()
S
78 1 3
disconnect_merchant()
S
78 1 3
invalidate_cached_response()
S
74 1 4
get_cached_response()
S
74 1 4
get_cache_key()
S
77 1 3
get_list_of_ads_supported_countries()
S
74 1 4